package com.szpx.service;

import com.szpx.entity.Goods;
import com.szpx.entity.Page;
import org.apache.jasper.tagplugins.jstl.core.If;


import java.util.List;

/**
 * @author Wangtx
 * @version 1.0.0
 * @title GoodsService
 * @create 2024/4/6 22:24
 * @description
 */
public interface GoodsService {
    Page findAllGoodsPage(Integer pageNo,Integer pageSize, Integer id);//浏览

    public void addGoods(Goods goods);//生成

    public void updateGoods(Goods goods);//修改

    public void deleteGoodsByGoodsId(Integer id);//删除

    public void deleteAllSelectGoods(List<Integer> goodsIds);

    public Integer allFreightPrice(Integer id);//计算

    List<Goods> getGoodsList();
}
